:root {
    --bg-white: #ffffff;
    --text-main: #000000;
    --text-muted: #666666;
    --text-light: #888888;
    --text-accent: #333333;
    --accent-green: #2ecc71;
    --border-color: #000000;
    --spacer-border: #dddddd;
    --spacer-bg: #eeeeee;
}
* {
    box-sizing: border-box;
}
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    font-family: 'Inter', Arial, sans-serif;
    background-color: var(--bg-white);
}
.app-container {
    display: flex;
    height: 100vh;
}
.side-column {
    width: 450px;
    background-color: var(--bg-white);
    padding: 40px;
    border-right: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}
.side-column ul {
    list-style-type: none;
    padding: 0;
    margin-top: 40px;
}
.side-column li {
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: 0.7;
    margin-bottom: 8px;
    position: relative;
    font-weight: 500;
}
.side-column li::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 1px;
    background: var(--text-muted);
}
.scroll-column {
    flex: 1;
    overflow-y: auto;
    padding: 40px;
    scrollbar-width: none; 
    -ms-overflow-style: none; 
}
.scroll-column::-webkit-scrollbar {
    display: none;
}
.scroll-column h1 {
    font-size: 35px;
    color: var(--text-main);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 60px;
}
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    font-size: 11px;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--bg-white); 
}
.nav-toggle, 
.hamburger {
    display: none;
}
.nav-links a {
    margin-right: 25px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}
.nav-links a:hover, .top-nav a:hover, .card-btn:hover {
    color: var(--text-main);
}
.nav-cta,  .card-btn {
    text-decoration: none;
    font-weight: 600;
    color: var(--text-muted);
}
.work-item {
    position: relative;
    width: 100%;
    margin-bottom: 80px;
}
.work-item img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 20px; 
    cursor: pointer;
}
.work-item img:hover {
    filter: grayscale(0%);
    transform: scale(0.98); 
}
.work-item p {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.side-column .box {
    position: relative;
    width: 100%;
    max-width: 340px;
    height: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px auto;
    transition: 0.5s;
}
.side-column .box .content {
    position: relative;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    z-index: 2;
    transition: 0.5s;
    color: var(--text-main);
}
.scroll-column p.lead {
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 20px;
    font-weight: 500;
    max-width: 90%;
}
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 20px;
}
.info-grid p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-main);
    margin-bottom: 20px;
}
.index-num {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.services-row {
    display: flex;
    justify-content: space-between;
    padding-bottom: 100px;
}
.services-row span {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
}
.status-indicator {
    margin-top: auto; 
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.contact-info a, .profile-info, .footer-copyright {
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 15px;
    display: flex;
    justify-content: flex-end;
    text-align: right;
    text-decoration: none;
}
.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-green);
    border-radius: 50%;
    margin-right: 8px;
}
.hero-title {
    font-size: 64px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 40px;
}
.side-column {
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 40px;
    flex-shrink: 0;
    overflow: hidden; 
}
.sidebar-spacer {
    height: 460px;
    width: 100%;
    flex-shrink: 0; 
}
.side-column .box {
    position: relative;
    width: 100%;
    max-width: 340px;
    height: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px auto; 
    transition: 0.5s;
    z-index: 1;
}
.side-column .box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(315deg, #e0e0e0, #ffffff);
    border-radius: 12px;
    opacity: 0;
    transition: 0.5s;
}
.side-column .box .content {
    position: relative;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    z-index: 2;
    transition: 0.5s;
    color: var(--text-main);
    text-align: left;
}
.side-column .box span {
    display: block;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 3;
    pointer-events: none;
}
.side-column .box span::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: 0.5s;
    animation: animateCardFloat 2.5s ease-in-out infinite;
}
.side-column .box:hover::before {
    opacity: 1;
    transform: scale(1.05);
    filter: blur(20px);
}
.side-column .box:hover .content {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--text-main);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.side-column .box:hover span::before {
    top: -30px;
    left: -20px;
    opacity: 1;
}
@keyframes animateCardFloat {
    0%, 100% { transform: translateY(5px); }
    50% { transform: translateY(-5px); }
}
.card-center-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100%;
    padding: 60px 20px;
}
.card-center-wrapper .box {
    position: relative;
    width: 100%;
    max-width: 550px; 
    transition: 0.5s;
    display: flex;
    justify-content: center;
    align-items: center;
}
.card-center-wrapper .box::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 20px;
    width: 90%;
    height: 100%;
    background: #000; 
    border-radius: 12px;
    transform: skewX(10deg);
    transition: 0.5s;
    filter: blur(40px);
    opacity: 0.1; 
    z-index: -1;
}
.card-center-wrapper .box .content {
    width: 100%;
    padding: 45px;
    background: rgba(255, 255, 255, 0.8); 
    backdrop-filter: blur(20px);
    border: 1px solid #000; 
    border-radius: 4px; 
    box-shadow: 15px 15px 0px rgba(0,0,0,0.05); 
    transition: 0.5s;
}
.card-center-wrapper .box:hover .content {
    transform: translate(-5px, -5px);
    box-shadow: 20px 20px 0px rgba(0,0,0,0.1);
}
.content h2 {
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    border-bottom: 2px solid #000;
    display: inline-block;
    padding-bottom: 5px;
}
.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form input, 
.contact-form select, 
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0px; 
    font-family: inherit;
    font-size: 14px;
    color: #000;
    transition: 0.3s;
    outline: none;
}
.contact-form input:focus, 
.contact-form select:focus, 
.contact-form textarea:focus {
    border-color: #000;
    box-shadow: 5px 5px 0px #000;
}
.contact-form textarea {
    height: 150px;
    margin-bottom: 20px;
}
.submit-btn {
    width: 100%;
    padding: 20px;
    background: #000;
    color: #fff;
    border: 1px solid #000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    cursor: pointer;
    transition: 0.4s cubic-bezier(0.6, -0.28, 0.735, 0.045);
}
.submit-btn:hover {
    background: #fff;
    color: #000;
    letter-spacing: 6px;
}

@media (max-width: 768px) {
    body, html {
        overflow: auto; 
    }
    .app-container {
        flex-direction: column; 
        height: auto;
    }

    .work-item img {
    width: 100% !important; 
    height: auto;
    margin-bottom: 15px;
}

.work-item {
    margin-bottom: 40px; 
}

    
    .top-nav {
        position: fixed;
        width: 100%;
        height: 60px;
        padding: 0 20px;
        display: flex;
        justify-content: center; 
        align-items: center;
        background: var(--bg-white);
        z-index: 9999;
    }

    
    .nav-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        font-size: 14px;
    }
    .nav-time, .nav-cta {
        display: none;
    }
    .nav-toggle { display: none; }

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        position: absolute;
        right: 20px;
    }
    .hamburger span {
        width: 25px;
        height: 2px;
        background: var(--text-main);
        transition: 0.3s;
    }

    .nav-links {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        border-bottom: 1px solid var(--border-color);
        display: none; /* Hidden by default */
        flex-direction: column;
        padding: 20px;
    }
    .nav-links a {
        margin: 10px 0;
        font-size: 16px;
    }

    .nav-toggle:checked ~ .nav-links {
        display: flex;
    }

    .side-column {
        width: 100%;
        height: auto;
        border-left: none;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 40px 20px 40px 20px; /* Top padding for the fixed nav */
    }
    .scroll-column {
        padding: 40px 20px;
        overflow: visible;
    }
    .hero-title {
        font-size: 40px;
    }

    .info-grid {
        grid-template-columns: 1fr; /
    }
    .scroll-column h1 {
    font-size: 24px; 
    margin-bottom: 30px;
}
.scroll-column p.lead {
    font-size: 22px; 
    max-width: 100%;
}
.info-grid {
    grid-template-columns: 1fr; 
    gap: 20px;
}
.services-row {
    flex-direction: column; 
    gap: 15px;
    padding-bottom: 50px;
}
.side-column .box, 
.card-center-wrapper .box {
    max-width: 100%; 
    margin: 20px 0;
}
.side-column .box .content {
    padding: 20px; 
}
.contact-info, .profile-info, .footer-copyright {
    justify-content: center; 
    text-align: center;
}
.status-indicator {
    justify-content: center;
    margin-top: 20px;
}
.side-column .box {
    margin: 15px auto; 
    height: auto; 
}
.side-column .box .content {
    padding: 22px; 
}
.sidebar-spacer {
    display: none;
}
.contact-info, 
.contact-info a,
.profile-info, 
.footer-copyright {
    display: flex;
    justify-content: center !important; 
    text-align: center !important;      
    width: 100%;                        
    margin-left: auto;
    margin-right: auto;
}
.contact-info a {
    font-size: 14px; 
    word-break: break-all; 
}
    .app-container {
        display: flex !important;
        flex-direction: column !important;
    }
    .app-container aside:first-of-type {
        order: 1;
        padding-top: 80px !important; 
    }
    .app-container aside:last-of-type {
        order: 2;
        padding-top: 0 !important;
    }
    .scroll-column {
        order: 3;
        padding-top: 20px !important;
    }
    .sidebar-spacer {
        display: none !important;
    }
    .app-container {
        display: flex !important;
        flex-direction: column !important;
    }
    .app-container aside:last-of-type {
        display: contents; 
    }
    .app-container aside:first-of-type { 
        order: 1; 
        padding-top: 80px !important; 
    }
    .app-container aside:last-of-type .container { 
        order: 2; 
        margin-bottom: 40px;
    }
    .scroll-column { 
        order: 3; 
    }
    .status-indicator, 
    .profile-info, 
    .contact-info, 
    .footer-copyright { 
        order: 4; 
        display: flex !important;
        justify-content: center !important;
        text-align: center !important;
        margin: 10px 0;
    }
        .work-item img {
        filter: grayscale(0%) !important; /* Forces color back */
        -webkit-filter: grayscale(0%);
    }
}
